<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改团员信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-teamYlInfo-edit" >
            <input name="ylId" th:value="${teamYlInfo.ylId}" type="hidden">
            <input name="ylType" th:value="${teamYlInfo.ylType}" type="hidden">
            <div class="row">
            <div class="form-group">
                <label class="col-sm-3 control-label">团员编号：</label>
                <div class="col-sm-8">
                    <input name="ylId" readonly th:value="${teamYlInfo.ylId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">团队编号：</label>
                <div class="col-sm-8">
                    <input name="teamYlId" readonly th:value="${teamYlInfo.teamYlId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">团员展业端管理编号：</label>
                <div class="col-sm-8">
                    <input name="agentNum" readonly th:value="${teamYlInfo.agentNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">团员展业端管理名称：</label>
                <div class="col-sm-8">
                    <input name="agentName" readonly th:value="${teamYlInfo.agentName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">团员状态：</label>
                <div class="col-sm-8">
                    <select name="status"  th:value="${teamYlInfo.status}" class="form-control m-b">
                        <option th:selected="${teamYlInfo.status == '1'}" value="1">正常</option>
                        <option th:selected="${teamYlInfo.status == '0'}" value="0">关停</option>
                    </select>
                </div>
            </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "team/teamYlInfo";
        $("#form-teamYlInfo-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-teamYlInfo-edit').serialize());
            }
        }
    </script>
</body>
</html>